/*
    Copyright (c) 2012 Denis Mingulov.

    This file is part of Drop Cache.

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <QDebug>

#include "mainpage.h"
#include "dropcachewidget.h"

#include "translations.h"

namespace Style
{
    static const QLatin1String MainPage("CommonApplicationPageInverted");
}

// -----------------------------------------------------

MainPage::MainPage(QGraphicsItem *parent)
    : MApplicationPage(parent)
{
    setTitle(qtTrId(Loc::AppTitle));

    setStyleName(Style::MainPage);
}

MainPage::~MainPage()
{
}

void MainPage::createContent()
{
    setCentralWidget(new DropCacheWidget());
}
